package work.timejay.shop.service.shop.impl;

import work.timejay.shop.entity.shop.ShopExtends;
import work.timejay.shop.mapper.shop.ShopExtendsMapper;
import work.timejay.shop.service.shop.ShopExtendsService;
import work.timejay.common.SuperServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品信息子内容 服务实现类
 * </p>
 *
 * @author 王文杰
 * @since 2024-02-07
 */
@Service
public class ShopExtendsServiceImpl extends SuperServiceImpl<ShopExtendsMapper, ShopExtends> implements ShopExtendsService {

    @Override
    public List<ShopExtends> findInfosByShopId(Long id) {
         return lambdaQuery()
                .eq(ShopExtends::getShopId, id)
                .list();
    }
}
